.dag-layout {
	height: 100%;
	display: flex;
	background: #ffffff;
	width: 100%;
	overflow: hidden;
	#stencil {
		width: 60px;
		height: calc(100% - 42px);
		position: absolute;
		left: 0px;
		top: 42px;
		background: #333333;
		z-index: 2;
		// border-right: 1px solid #dfe3e8;
		foreignObject {
			width: 32px;
			height: 32px;
			cursor: move;
			.self-defined {
				width: 32px;
				height: 32px;
				background: none;
				.self-defined-icon {
					margin-top: 0;
				}
			}
			.self-defined-word {
				display: none;
			}
		}
		rect {
			display: none;
		}
		.x6-cell.x6-node.x6-node-immovable {
			// display: none;
			width: 60px;
			height: 32px;
			display: block;
			float: left;
		}
	}
	.graph-container-box {
		width: calc(100% - 180px);
		height: 100%;
		flex: 1;
		margin-right: 1px;
		.tool-bar {
			background: #ffffff;
			height: 42px;
			width: 100%;
			box-sizing: border-box;
			position: relative;
			border-bottom: 1px solid #ffffff;
			.logo {
				overflow: hidden;
				position: absolute;
				left: 10px;
				top: 7px;
				img {
					display: block;
					height: 28px;
					// margin: 7px 0 0 10px;
				}
			}
			.graph-handle {
				display: flex;
				width: 450px;
				justify-content: space-around;
				margin: 0 auto;
				li {
					background-size: 24px 24px;
					cursor: pointer;
					background-position: center center;
					width: 40px;
					height: 40px;
					background-repeat: no-repeat;
					&:hover {
						background-color: #d0cece;
					}
				}
				.graph-handle-btn1 {
					background-image: url(~@/assets/img/graph-handle-btn1.png);
				}
				.graph-handle-btn2 {
					background-image: url(~@/assets/img/graph-handle-btn2.png);
				}
				.graph-handle-btn3 {
					background-image: url(~@/assets/img/graph-handle-btn3.png);
				}
				.graph-handle-btn4 {
					background-image: url(~@/assets/img/graph-handle-btn4.png);
				}
				.graph-handle-btn5 {
					background-image: url(~@/assets/img/graph-handle-btn5.png);
				}
				.graph-handle-btn6 {
					background-image: url(~@/assets/img/graph-handle-btn6.png);
				}
				.graph-handle-btn7 {
					background-image: url(~@/assets/img/graph-handle-btn7.png);
				}
				.graph-handle-btn8 {
					background-image: url(~@/assets/img/graph-handle-btn8.png);
				}
				.graph-handle-btn9 {
					background-image: url(~@/assets/img/graph-handle-btn9.png);
				}
			}
			.run-btn {
				position: absolute;
				right: 24px;
				top: 5px;
			}
		}
		#graph-container {
			width: 100%;
			height: calc(100% - 40px);
			//.x6-graph-background{
			//  background: url(~@/assets/img/mosaic.png) repeat;
			//}
			background-color: #e5e8ee;
			background-image: linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 0),
				linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 0), linear-gradient(white 1px, transparent 0),
				linear-gradient(90deg, white 1px, transparent 0);
			background-size: 5px 5px, 5px 5px, 25px 25px, 25px 25px;
		}
	}
	#container {
		width: 320px;
		height: 100%;
		background: #ffffff;
		box-sizing: border-box;
		// border-left: 1px solid #1D1D1D;
		.container-title {
			color: #666666; //条件节点设置字体颜色
			line-height: 40px;
			padding-left: 42px;
			font-weight: normal;
			background: url(~@/assets/img/container-title-icon.png) no-repeat 14px center #ffffff; //条件节点设置背景颜色
			background-size: 18px 18px;
			font-size: 14px;
		}
		.container-hint {
			padding-top: 20px;
			color: #666666; //请点击节点进行编辑背景颜色
			text-align: center;
		}
	}
	.x6-widget-stencil {
		background: #ffffff; //左侧图标背景颜色
	}
	.x6-widget-stencil-title {
		// background-color: #fff;
		display: none;
	}
	.x6-widget-stencil-group-title {
		display: none;
		// background-color: #fff !important;
	}
	// .x6-widget-stencil-group{
	//   margin-top: 40px;
	// }
	.x6-widget-transform {
		margin: -1px 0 0 -1px;
		padding: 0px;
		border: 1px solid #239edd;
	}
	.x6-widget-transform > div {
		border: 1px solid #239edd;
	}
	.x6-widget-transform > div:hover {
		background-color: #3dafe4;
	}
	.x6-widget-transform-active-handle {
		background-color: #3dafe4;
	}
	.x6-widget-transform-resize {
		border-radius: 0;
	}
	.x6-widget-selection-inner {
		border: 1px solid #239edd;
	}
	.x6-widget-selection-box {
		opacity: 0;
	}

	.self-defined {
		display: block;
		width: 112px;
		height: 70px;
		background: linear-gradient(180deg, #d9dde2ff 0%, #d9dde2ff 100%); //拖拽组件颜色
		box-shadow: 0px 2px 8px 0px rgb(217, 221, 226); //拖拽组件阴影
		border-radius: 4px;
		border: 1px solid #d9dde2; //拖拽组件边框颜色
		.self-defined-icon {
			width: 32px;
			height: 32px;
			display: block;
			margin: 7px auto 0;
		}
		.self-defined-word {
			text-align: center;
			color: #aaaaaa; //拖拽组件字体颜色
		}
	}
	.x6-node.x6-node-selected {
		.self-defined {
			background: linear-gradient(180deg, #b2b5bd 0%, #b3b7be 100%); //拖拽组件被选中时
		}
		.self-defined-word {
			color: #666666; //拖拽组件字体颜色-选中时
		}
	}
	.widget {
		overflow: hidden;
		padding: 0 14px;
		width: 100%;
		min-height: 800px;
		display: flex;
		flex-direction: column;
		.widget-item {
			padding: 10px 0 0 0;
			&:after {
				display: block;
				clear: both;
				content: "\0020";
				visibility: hidden;
				height: 0;
			}
		}
		.widget-title-big {
			color: #666666;
			font-weight: bold;
			font-size: 16px;
		}
		.black-dialog {
			background: rgba(255, 255, 255, 0.2);
			.el-dialog {
				background: #282828;
				.el-input-group__append,
				.el-input-group__prepend,
				input,
				.el-button--default {
					background: #1d1d1d;
					border-color: #1d1d1d;
					color: #fff;
				}
			}
		}
		.widget-white-word {
			color: #fff;
		}
		.widget-title {
			color: #666666;
			float: left;
			width: 120px;
		}
		.widget-select {
			//请选择背景颜色
			float: left;
			background: #d9dde2ff;
			.el-input__inner,
			.el-select-dropdown,
			.el-select-dropdown__item {
				background: #d9dde2ff;
				border-color: #d9dde2ff;
				color: #666666;
			}
			.el-select-dropdown__item.hover,
			.el-select-dropdown__item.selected {
				//下拉框鼠标悬停背景颜色
				font-weight: bold;
				background: #e3e2e2;
			}
			.el-popper[x-placement^="bottom"] .popper__arrow {
				//请选择箭头背景颜色
				border-bottom-color: #d9dde2ff;
				&::after {
					border-bottom-color: #d9dde2ff;
				}
			}
		}
		.checkbox-word {
			//启动强化学习选择
			margin-left: 10px;
			color: #666666;
		}
		.val {
			float: left;
			width: 160px;
			.el-input__inner {
				background: #d9dde2ff; //标题框背景颜色
				color: #666666;
				border-color: rgba(0, 0, 0, 0);
			}
		}
	}
}
